package com.usian.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "stock-service")
public interface StockFeign {

    @RequestMapping("/jian/{skuId}/{num}")
    public boolean jian(@PathVariable Integer skuId, @PathVariable Integer num);
}
